
<html lang="en"><head>
    <meta charset="utf-8">
    <title>{{ sitename }}</title>
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <script type="text/javascript" src="/static/laydate/laydate.js"></script>
    <link rel="stylesheet" href="/static/layui/css/layui.css">
    <link rel="stylesheet" type="text/css" href="/static/lib/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" href="/static/lib/font-awesome/css/font-awesome.css">

    <script src="/static/lib/jquery-1.11.1.min.js" type="text/javascript"></script>

        <script src="/static/lib/jQuery-Knob/js/jquery.knob.js" type="text/javascript"></script>
    <script type="text/javascript" src="/static/js/zDrag.js"></script>
    <script type="text/javascript" src="/static/js/zDialog.js"></script>
    <script type="text/javascript" src="/static/js/layer.js"></script>
    <script type="text/javascript" src="/static/layui/layui.js"></script>
    <script type="text/javascript">
        $(function() {
            $(".knob").knob();
        });
    </script>
     <script type="text/javascript">
        $(function() {
            $('a[data-color]').click(function(e) {
                var color = $(this).data('color');
                $('body').removeClass(function (index, css) {
                    return (css.match (/\btheme-\S+/g) || []).join(' ')
                })
                $('body').addClass('theme-' + color);
                document.cookie = 'color='+color;
                return false;
            });
        });
    </script>


<style type="text/css">


#navigation li a
{
display:block; /* 区块显示*/
padding:5px 5px 5px 0.5em;
text-decoration:none;
border-left:12px solid #711515; /* 左边的粗红边*/
border-right:1px solid #711515; /* 右侧阴影*/
}
#navigation li a:link,#navigation li a:visited /* 超链接正常状态、被访问过的状态*/
{
background-color:#c11136; /* 设置背景色*/
color:#FFFFFF; /* 设置文字颜色*/
}
#navigation li a:hover /*鼠标经过时*/
{
background-color:#990020; /* 改变背景色*/
color:#ffff00; /* 改变文字颜色*/
}
</style>

    <link rel="stylesheet" type="text/css" href="/static/stylesheets/theme.css">
    <link rel="stylesheet" type="text/css" href="/static/stylesheets/premium.css">

</head>
<body class=" theme-blue">

    <!-- Demo page code -->

    <script type="text/javascript">
        $(function() {
            var match = document.cookie.match(new RegExp('color=([^;]+)'));
            if(match) var color = match[1];
            if(color) {
                $('body').removeClass(function (index, css) {
                    return (css.match (/\btheme-\S+/g) || []).join(' ')
                })
                $('body').addClass('theme-' + color);
            }

            $('[data-popover="true"]').popover({html: true});

        });
    </script>
    <style type="text/css">
        #line-chart {
            height:300px;
            width:800px;
            margin: 0px auto;
            margin-top: 1em;
        }
        .navbar-default .navbar-brand, .navbar-default .navbar-brand:hover {
            color: #fff;
        }
    </style>

    <script type="text/javascript">
        $(function() {
            var uls = $('.sidebar-nav > ul > *').clone();
            uls.addClass('visible-xs');
            $('#main-menu').append(uls.clone());
        });
    </script>

    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <!-- Le fav and touch icons -->
    <link rel="shortcut icon" href="../assets/ico/favicon.ico">
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
    <link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">


  <!--[if lt IE 7 ]> <body class="ie ie6"> <![endif]-->
  <!--[if IE 7 ]> <body class="ie ie7 "> <![endif]-->
  <!--[if IE 8 ]> <body class="ie ie8 "> <![endif]-->
  <!--[if IE 9 ]> <body class="ie ie9 "> <![endif]-->
  <!--[if (gt IE 9)|!(IE)]><!-->

  <!--<![endif]-->

    <div class="dropdown navbar navbar-default" role="navigation">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">

            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="" href="index.html"><span class="navbar-brand"><span class="fa fa-paper-plane"></span> {{ sitename }}</span></a></div>

        <div class="navbar-collapse collapse" style="height: 1px;" id="navigation">
          <ul id="main-menu" class="nav navbar-nav navbar-right">

            <li class="dropdown hidden-xs">

                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                    <span class="glyphicon glyphicon-user padding-right-small" style="position:relative;top: 3px;"></span>{{ username }}
                    <i class="fa fa-caret-down"></i>
                </a>

              <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
                  <li role="presentation" class="dropdown-header">管理员设置</li>

                <li class="divider"></li>

                <li role="presentation" >
			<a role="menuitem" tabindex="-1" href="{% url 'assetdetails-view' %}">资产管理</a>
		</li>

                <li><a tabindex="-1" href="{% url 'users-view' %}">员工管理</a></li>
                  <li><a href="{% url 'supplier-view' %}">供应商管理</a></li>
                  <li><a href="/">返回首页</a></li>
                <li class="divider"></li>
                  <li><a tabindex="-1" href="/admin/" target="_blank">登录到后台</a></li>
                  <li class="divider"></li>
                <li><a tabindex="-1" href="{% url 'userlogout' %}">注销</a></li>
              </ul>
            </li>
          </ul>

        </div>
      </div>
    </div>


    {% include 'include/nav.html' %}

    <div class="content">
 {%block content%} {% endblock %}
</div>



    	<div style="text-align: center;padding: 50px 0 0 0;height: 60px;" >
			<a href="#">网站地图</a> | Copyright © 2016 <a href="http://127.0.0.1:8000/">XMKT资产管理系统</a> | Designed by <a href="http://wpa.qq.com/msgrd?v=1&uin=7836567&site=qq&menu=yes/" target="_parent">adam</a>
        </div>


    <script src="/static/lib/bootstrap/js/bootstrap.js"></script>
    <script type="text/javascript">
        $("[rel=tooltip]").tooltip();
        $(function() {
            $('.demo-cancel-click').click(function(){return false;});
        });
    </script>


</body></html>
